package cn.like.log.service.impl;

import cn.like.log.entity.OptLogDTO;
import cn.like.log.service.LogService;
import lombok.extern.slf4j.Slf4j;

/**
 * desc: LogService 默认实现  <br>
 * details: 直接打印
 *
 * @author like 980650920@qq.com
 * @date 2021-07-07 23:28:02
 * @see LogService
 */
@Slf4j
public class DefaultLogService implements LogService {

    public static final DefaultLogService instance = new DefaultLogService();

    @Override
    public void saveLog(OptLogDTO optLogDTO) {
        log.info("[saveLog 请实现保存log方法 当前是默认实现 "+ DefaultLogService.class +"] :{}",optLogDTO);
    }
}
